home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Sapphire Collection / Software Vault (Sapphire Collection) (Digital Impact).ISO / cdr08 / finst152.zip / INIMGR.H_ / INIMGR.H
C/C++ Source or Header  |  1994-07-30  |  1KB  |  24 lines

  1. #define __INIMGR_H
  2.  
  3. class inimgr
  4. {
  5.    public:
  6.  
  7.    static int chksect(char s[], char sect[] = 0);
  8.    static int chkentry(char s[], char entry[] = 0);
  9.    static int chkcomment(char s[]);
  10.    static int parseentry(char s[], char entry[], char value[]);
  11.    static int getvalue(char file[], char sect[], char entry[], char value[], int seqno = 0);
  12.    static int getnoentries(char file[], char sect[], char entry[] = 0);
  13.    static int getentry(char file[], char sect[], int i, char entry[], char value[]);
  14.    static int getnolines(char file[], char sect[]);
  15.    static int getline(char file[], char sect[], int i, char line[]);
  16.    static int addsect(char file[], char sect[]);
  17.    static int delsect(char file[], char sect[]);
  18.    static int delentry(char file[], char sect[], char entry[], int seqno = 0);
  19.    static int delallentries(char file[], char sect[], char entry[] = 0);
  20.    static int setvalue(char file[], char sect[], char entry[], char value[], int seqno = 0);
  21.    static int insentry(char file[], char sect[], char entry[], char value[], int seqno = 0);
  22. };
  23.  
  24.